<template>
    <div id="AdminHome">
        <el-container>
            <el-aside height="100vh" width="200px">
                <AsideMenu></AsideMenu>
            </el-aside>
            <el-container>
                <el-header style="height: 50px;">
                    <Header></Header>
                </el-header>

                <el-main style="padding: 0;">
                    <RouterView></RouterView>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<script>
import { RouterView } from "vue-router";
import AsideMenu from "../../components/teacher/TeacherAside.vue";
import Header from "../../components/teacher/TeacherHeader.vue"
export default {

    name: 'AdminHome',
    data() {
        return {

        }
    },
    methods: {

    }, components: {
        AsideMenu,
        Header,
        RouterView
    }
}
</script>





<style scoped>
.el-header {
    color: #333;
    text-align: center;
    line-height: 60px;
    padding: 0;
}

.el-aside {
    color: #333;
    text-align: center;
    line-height: 200px;
    margin-right: 5px;
}

body>.el-container {
    margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
    line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
    line-height: 320px;
}
</style>
